package com.andy.blog.dal.service;

import com.andy.blog.dal.domain.SensitiveDO;
import com.andy.blog.dal.vo.SensitiveVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * Created by andy on 2023/7/21 18:26
 */
public interface SensitiveDalService {

    /**
     * 根据条件查询
     */
    List<SensitiveDO> selectList(SensitiveVO sensitiveVO);

    /**
     * 根据条件查询
     */
    SensitiveDO selectOne(SensitiveVO sensitiveVO);


    /**
     * 分页查询
     */
    IPage<SensitiveDO> selectPage(SensitiveVO sensitiveVO);

    /**
     * 新增
     */
    void insertData(SensitiveVO sensitiveVO);

    /**
     * 根据id查询
     */
    SensitiveDO selectById(Long id);

    /**
     * 编辑
     */
    void updateData(SensitiveVO sensitiveVO);

    /**
     * 删除
     */
    void deleteById(Long id);
}
